/*
 * All rights Reserved, Designed By DataDriver
 * Copyright:    DataDriver.Inc
 * Company:      Zhuo Wo Infomation Technology (ShangHai) CO.LTD
 */
package com.sun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * 豪猪监控面板
 *
 * Zookeeper 保证的是CP
 * Eureka 保证的是AP
 * CAP理论
 * C:一致性
 * A: 高可用
 * P: 容错
 */
@SpringBootApplication
@EnableHystrixDashboard
public class Hystrix9001Application {

    public static void main(String[] args) {
        SpringApplication.run(Hystrix9001Application.class, args);
    }
}
